package com.ijunfu.spring.value._04_ext_value.annotation;

import org.springframework.beans.factory.annotation.Value;

import java.lang.annotation.*;

/**
 *
 * @Title  : 
 * @Author : ijunfu <ijunfu@163.com>
 * @Date   : 2023/11/2 18:19
 * @Version: 1.0
 * @Motto  : 世界很大 世界很小
 *
 */
@Target({ElementType.FIELD, ElementType.METHOD, ElementType.PARAMETER, ElementType.ANNOTATION_TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Value("${local.server.port}")
public @interface LocalServerPort {

}
